CVE-2023-53687
tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk
Description
In the Linux kernel, the following vulnerability has been resolved: tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk When the best clk is searched, we iterate over all possible clk. If we find a better match, the previous one, if any, needs to be freed. If a better match has already been found, we still need to free the new one, otherwise it leaks.
INFO
Published Date :
Oct. 7, 2025, 4:15 p.m.
Last Modified :
Oct. 8, 2025, 7:38 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the kernel patch that fixes the memory leak.
- Ensure all clks are properly freed.
- Update the Linux kernel to the patched version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-53687
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-53687
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-53687
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-53687
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-53687
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 07, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk When the best clk is searched, we iterate over all possible clk. If we find a better match, the previous one, if any, needs to be freed. If a better match has already been found, we still need to free the new one, otherwise it leaks. Added Reference https://git.kernel.org/stable/c/01dd8a43a84616c830782166ba3cceb01ad95363 Added Reference https://git.kernel.org/stable/c/1962717c4649e026a4252fe6625175affd28a593 Added Reference https://git.kernel.org/stable/c/1f426293fef1c13742b2a685bf7e363f51f6ee03 Added Reference https://git.kernel.org/stable/c/46574e5a0a2aee41e6ebb979cfe1dbaea8693e16 Added Reference https://git.kernel.org/stable/c/832e231cff476102e8204a9e7bddfe5c6154a375 Added Reference https://git.kernel.org/stable/c/933e5b2998bc3a527d15efbf1e97c9e63297aa3c Added Reference https://git.kernel.org/stable/c/9dd8091959bc41fee51d0827276a2b982e84adf0 Added Reference https://git.kernel.org/stable/c/f0bf102ef9b05d7294bd8d506755465f6867d944